Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B64-encode documentId in routes for the Activity Log Event details page #809

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

kdeus
Copy link
Contributor

@kdeus kdeus commented Nov 26, 2024

Some document IDs are URLs, so they have slashes in them. That messes with our route strings, which use slashes to separate parameters. Encoding the docId fixes a crash when trying to navigate to the Activity Log for a single event, when using the German or EU PIDs.

Tested by:

  • Manual testing of Utopia, German, and EU PIDs.

  • ./gradlew check

  • ./gradlew connectedCheck

  • Tests pass

Some document IDs are URLs, so they have slashes in them. That messes with
our route strings, which use slashes to separate parameters. Encoding the
docId fixes a crash when trying to navigate to the Activity Log for a single
event, when using the German or EU PIDs.

Tested by:
- Manual testing of Utopia, German, and EU PIDs.
- ./gradlew check
- ./gradlew connectedCheck

Signed-off-by: Kevin Deus <[email protected]>
@kdeus kdeus requested a review from davidz25 November 26, 2024 20:55
@kdeus kdeus merged commit bfdf9ef into openwallet-foundation-labs:main Nov 26, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants